package it.traveldream.entities;

import it.traveldream.dto.ExcursionDTO;

import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

/**
 * Entity implementation class for Entity: BookedExcursion
 *
 */
@Entity
@DiscriminatorValue(ProductType.EXCURSION)
public class BookedExcursion extends BookedProduct {
	
	private static final long serialVersionUID = 1L;

	public BookedExcursion() {
		super();
	}

	@Override
	public ExcursionDTO toDTO() {
		return ((Excursion)this.getProduct()).toDTO();
	}
   
}
